﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using System.ComponentModel;

namespace Enums
{
    /// <summary>
    /// 前后台类型
    /// </summary>
    public enum LogFrontBackTypeEnum
    {
        /// <summary>
        /// 前台
        /// </summary>
        [Description("前台")]
        FrontType = 0,
        /// <summary>
        /// 后台
        /// </summary>
        [Description("后台")]
        BackType = 1
    }

    /// <summary>
    /// 日志类型名称
    /// </summary>
    public enum LogTypeNameEnum
    {
        /// <summary>
        /// 添加
        /// </summary>
        [Description("添加")]
        Add = 0,
        /// <summary>
        /// 修改
        /// </summary>
        [Description("修改")]
        Edit = 1,
        /// <summary>
        /// 删除
        /// </summary>
        [Description("删除")]
        Del = 2,
        /// <summary>
        /// 登录
        /// </summary>
        [Description("登录")]
        Login = 3,
        /// <summary>
        /// 退出
        /// </summary>
        [Description("退出")]
        Exit = 4,
        /// <summary>
        /// 注册
        /// </summary>
        [Description("注册")]
        Register = 5,
        /// <summary>
        /// 操作
        /// </summary>
        [Description("操作")]
        Operation = 10

    }

    /// <summary>
    /// 操作动作描述枚举
    /// </summary>
    public enum LogOperatingDescriptionActionEnum
    {
        /// <summary>
        /// 例：用户【张三{0}】在后台{1}添加{2}数据密码{这个地方传字符串进来}！添加{2}用户ID：123{3},登录名为：{4}
        /// </summary>
        [Description("用户【{0}】在{1}{2}数据{5}！{2}用户ID：{3},登录名为：{4}")]
        LODAE0 = 0
    }

}
